package com.johnny.bootlaunch.exception;

public class ParamValidateException extends RuntimeException {
    private int code = 44;
    private String message;

    @Override
    public String getMessage(){return message;}

    public  ParamValidateException(int code,String message){
         super(message);
         this.code = code;
         this.message = message;
    }
    public  ParamValidateException(String message){
        super(message);
        this.message = message;
    }
}
